package com.scb.dev.mms.dao;

import com.scb.dev.mms.pojo.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface MenuMapper {
    /**  
	 * Title: deleteByMenuId  
	 * Description: 
	 * Param: menuId
	 * RrturnType: int(0:fail  1:success)
	 */
    int deleteByMenuId(String menuId);


    /**  
	 * Title: insertSelective  
	 * Description: 
	 * Param: menu
	 * RrturnType: int(0:fail  1:success)
	 */
    int insertSelective(Menu menu);

    /**  
	 * Title: selectByMenuId  
	 * Description: 
	 * Param: menuId
	 * RrturnType: Menu
	 */
    Menu selectByMenuId(String menuId);

    /**  
	 * Title: updateByMenuIdSelective  
	 * Description: 
	 * Param: menu
	 * RrturnType: int(0:fail  1:success)
	 */
    int updateByMenuIdSelective(Menu menu);
    
    /**  
	 * @Title: selectAllMenu  
	 * @Description: select all menu
	 * @Param: 
	 * @RrturnType: List<Menu>
	 */
    List<Menu> selectAllMenu();




}